.gradetotal img{
    width: 1000px;
    margin-top: -45px;
    visibility: hidden;
    position: relative;
}
.gradetotal{
    position: absolute;
    left: 100%;
}
.container_bg {
    width: 1000px; /* 和图片宽度一致 */
    height: 60px;   /* 15px 高度的白色块 */
    background-color: white;
    position: relative;
    left: 0;
}
.button-container {
    display: flex;
    gap: 20px; /* 按钮之间的间距 */
    position: absolute;
    top: 2px;
    left: 50%; /* 从父容器的左边界起始 */
    transform: translateX(-50%); /* 向左平移自身宽度的一半，确保水平居中 */
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background-color: white;
    border: 2.5px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.back-button::before {
    content: "";  /* 内容设为空 */
    background-image: url('../img/back.png');
    background-size: contain;  /* 或者 cover，根据需求选择 */
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    height: 20px; /* 设置图片高度 */
    width: 10px; /* 设置图片高度 */
    margin-right: 8px;
    opacity: 0.5;
}

.next-button::after {
    content: "";  /* 内容设为空 */
    background-image: url('../img/next.png');
    background-size: contain;  /* 或者 cover，根据需求选择 */
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    height: 20px; /* 设置图片高度 */
    width: 10px; /* 设置图片高度 */
    margin-left: 8px;
    opacity: 0.5;
}

/* 按钮的悬浮效果，只在非禁用状态生效 */
.nav-button:not([disabled]):hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* 按钮的点击效果，只在非禁用状态生效 */
.nav-button:not([disabled]):active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
/* 禁用状态的按钮样式 */
.nav-button[disabled] {
    transition: none; /* 移除过渡动画 */
    transform: none;  /* 移除任何变换 */
    cursor: not-allowed;
}

.page-info {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    align-self: center;  /* 使其垂直居中对齐 */
    padding: 0 10px;
    text-align: center;
}